package com.bw.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

/**
 * 
 * @author auto create
 * @since 1.0,2018-05-22 16:17:42
 */
public class Role implements Serializable {

    private List list;

    private Set set;

    private Map map;

    private Properties properties;


    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Set getSet() {
        return set;
    }

    public void setSet(Set set) {
        this.set = set;
    }

    public Map getMap() {
        return map;
    }

    public void setMap(Map map) {
        this.map = map;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    private static final long serialVersionUID = 8900605510362834L;

    public Role() {
    }

    public Role(Long id, String name, Integer seq, String description, Integer status, User user) {
        this.id = id;
        this.name = name;
        this.seq = seq;
        this.description = description;
        this.status = status;
        this.user = user;
    }

    private Long id;//主键id

    private String name;//角色名

    private Integer seq;//排序号

    private String description;//简介

    private Integer status;//状态

    private User user;


    public void init(){
        System.out.println("Bean is going through init.");
    }
    public void destroy(){
        System.out.println("Bean will destroy now.");
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSeq() {
        return this.seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
